﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace MusicService
{
    [ServiceContract]
    interface ISongAuthorService
    {
        [OperationContract]
        bool addSongAuthor(string authorID, string songID);

        [OperationContract]
        bool removeSongAuthor(string authorID, string songID);

        [OperationContract]
        bool updateSongAuthor(string authorID, string songID);

        [OperationContract]
        List<SongAuthor> getAllSongAuthor();

        [OperationContract]
        SongAuthor getSongAuthorByID(string authorID, string songID);
    }
}
